package com.victor.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 婚纱表
 * </p>
 *
 * @author victor
 * @since 2019-03-27
 */
@TableName("wedding_dress")
public class WeddingDress extends Model<WeddingDress> {

    private static final long serialVersionUID = 1L;

	public static final Integer HUNSHA = 1;//婚纱
	public static final Integer XIUHE = 2;//秀禾
	public static final Integer JINGJIU = 3;//敬酒服
	public static final Integer BANN = 4;//伴娘服

    /**
     * 主键ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 婚纱名称
     */
	private String name;
    /**
     * 婚纱类型（1：婚纱2：秀禾）
     */
	private Integer type;
    /**
     * 租金
     */
	private Double rent;
    /**
     * 婚纱图片
     */
	private String image;
    /**
     * 备注
     */
	private String remark;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建人
     */
	@TableField("create_user")
	private Integer createUser;
    /**
     * 更新人
     */
	@TableField("update_user")
	private Integer updateUser;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;
    /**
     * 状态（1：正常2：禁用）
     */
	private Integer status;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Double getRent() {
		return rent;
	}

	public void setRent(Double rent) {
		this.rent = rent;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	public Integer getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WeddingDress{" +
			"id=" + id +
			", name=" + name +
			", type=" + type +
			", rent=" + rent +
			", image=" + image +
			", remark=" + remark +
			", createTime=" + createTime +
			", createUser=" + createUser +
			", updateUser=" + updateUser +
			", updateTime=" + updateTime +
			", status=" + status +
			"}";
	}
}
